﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.IO;

namespace inohigo
{
	class Program
	{
		static void Main( string[] args )
		{
			string input = "3 + 4 * 2\"";
//			StringReader reader = new StringReader( input );

			Lexer lexer = new Lexer();
			List<Token> tokenList = new List<Token>();
			tokenList = lexer.Analyze( input );

			RecursiveDescentParser reParser = new RecursiveDescentParser();
			var result = reParser.Parse( tokenList );

//			Parser parser = new Parser( NotationType.Polish, tokenList );
			PackratParser parser = new PackratParser( tokenList );
			parser.Parse();

		}
	}
}
